<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title></title>
	<style type="text/css">
		*{
			margin: 0;
			padding: 0;
		}
		.box{
			width: 500px;
			height: 500px;
			margin: 100px auto;
			display: flex;
			
		}
		.one{
			width: 100px;
			height: 150px;
			background-color: red;
			border-top-left-radius: 50px;
			border-top-right-radius: 50px;
			transform: rotate(48deg);
			transform-origin: bottom right;
			animation: love1 1s infinite;
		}
		.two{
			width: 100px;
			height: 150px;
			background-color: red;
			border-top-left-radius: 50px;
			border-top-right-radius: 50px;
			transform: rotate(310deg);
			transform-origin: bottom left;
			animation: love2 1s infinite;
		}
		@keyframes love1{
			0%{
				transform:rotate(48deg) scale(1);
			}
			100%{
				transform:rotate(48deg) scale(1.5);
			}
		}
		@keyframes love2{
			0%{
				transform:rotate(310deg) scale(1);
			}
			100%{
				transform:rotate(310deg) scale(1.5);
			}
		}



	</style>
</head>
<body>

	<div class="box">
		<div class="one"></div>
		<div class="two"></div>
	</div>


</body>
</html>




<!-- 居中方法
transfrom:translate(-50% -50%) -->